﻿<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" import="org.apache.struts2.ServletActionContext"%>
<%@ page import="com.baihui.taobao.util.Util" %>
<%@ page import="java.net.URLEncoder" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
  String basePath = request.getContextPath();
  String sign = request.getParameter("sign");
  String baihuiUserId = request.getParameter("baihuiId");
%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
/* $Id$ */
body{background-color:#f3f0eb; overflow-y:scroll;}
body{margin:0px auto; padding:0px; font-family:Arial,Helvetica,sans-serif !important; text-align:center\9;}
a,select,input,form,textarea,pre{
	margin:0px; padding:0px; font-family:Arial,Helvetica,sans-serif; font-size:100%;
}
.button:hover, .dropdownbutton:hover, .bluebtn:hover {
border: 1px solid #888 !important;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
a{text-decoration:none; color:#0F5491; outline:none medium;}img{ border:0px;}form{ margin:0px;}
.bodycontainer{/* width:1240px; margin:0px auto;text-align:left\9 !important;*/text-align:left\9 !important; margin:0px auto; max-width:1240px;width: expression((document.documentElement.offsetWidth < 1240) ? "100%" : "1240px" );}
.rwobwop {
	background-color: white;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	margin: 18px;
	padding: 15px;
	border: 0px solid;border-color: #E5E5E5 #DBDBDB #D2D2D2;
	-webkit-box-shadow: rgba(0,0,0,0) 0 1px 3px;
	-moz-box-shadow: rgba(0,0,0,0) 0 1px 3px;
	box-shadow: rgba(0,0,0,0) 0 1px 3px;
	border-style:none;	
}
.rwobwop{ padding:0px !important; text-align:left; border-left:1px #CDCDCD solid;border-right:1px #CDCDCD solid; border-bottom:1px #CDCDCD solid}
.tit{ font-size:17px;font-family: Arial;font-weight: bolder;color: black;line-height: 150%;text-align: left	9 !important;padding-left: 15px; line-height:50px; background-color:#F5F7FF;border-bottom: 1px solid #E1E5EB; border-top:1px #CDCDCD solid}
.pL30{padding-left:30px;}
.pT20{padding-top:20px;}
.mandatory {
color: #900 !important;
font-size: 12px;
font-family: arial;
}
.dim {
color: #666;
line-height: 30px;
}
strong, b {user agent stylesheet
font-weight: bolder;
}
.pwie{position:relative; width:100%;}
.qalink{padding-bottom:12px; font-size:14px; padding-left:20px; color:#6e6555; text-shadow:1px 1px 0 white;}
.pL5{padding-left:5px;}
.pT5{padding-top:5px;}
.f11{font-size:11px;}
.btn,.blueBtn,.button{background:transparent url(https://crm.baihui.com/crm/images/allCommon-Icons.png) repeat-x 0px -2549px;outline:medium none; font-size:12px;}
.btn:hover, .dbtn:hover, .bluebtn:hover, .button:hover {
border: 1px solid #999;
}
.btn, .dbtn, .bluebtn, .button {
font-size: 11px;
font-family: Tahoma,Arial,Helvetica,sans-serif;
border: 1px solid #DDD;
text-shadow: 0 2px 0 white;
border-bottom: 1px solid #BBB;
color: #444;
padding: 5px 15px 5px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
margin: 0px;
-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.bodyText{ font-size:12px;}
li {
list-style: none outside none;
padding: 0px 0px 3px 20px;
background: transparent url(https://crm.baihui.com/crm/images/allCommon-Icons.png) no-repeat;
display: list-item;
text-align: -webkit-match-parent;
line-height: 20px;
color: #6E6555 !important;
font-size: 14px;
text-shadow: 1px 1px 0 white;
}
li{background-position: -184px -1080px;}
.text{ padding-top:10px;}
.text b{ font-size:14px;}
.text p{
line-height: 20px;
color: #6E6555 !important;
font-size: 14px;
text-shadow: 1px 1px 0 white;}
</style>

</head>

<body>
 <form action="<%=basePath%>/manager/uploadCSVFile.action" name="uploadCSVFile" method="post" enctype="multipart/form-data">
    <input type="hidden" name="sign" value="<%=sign%>"></input>
    <input type="hidden" name="baihuiUserId" value="<%=baihuiUserId%>"></input>
    <div style="margin:0;height:auto;font-size:12;color:#FF0000"><s:actionerror/></div>
<div id="show" class="bodycontainer">
<table width="100%" class="importTable"><tbody><tr><td width="863" valign="top"><div class="rwobwop">
<div class="tit">导入历史订单</div>
<div class="pL30 pT20" id="outerTable">
  <p class="pT20 font12 mandatory">请选择要导入的订单列表文件：</p>
  <p>
  <s:file name="uploadOrderList" label="上传文件" theme="simple" size="35"/>
  <br>
  <span class="dim f11 pT5">[即从淘宝导出的并依据右侧注意事项进行调整的名为ExportOrderListXXXXXXXXXXXX.csv的文件]
</span></p><br/><br/>
<p class="pT20 font12 mandatory">请选择要导入的订单详情列表文件：</p>
  <p>
  <s:file name="uploadDetailList" label="上传文件" theme="simple" size="35"/>
  <br>
  <span class="dim f11 pT5">[即从淘宝导出的并依据右侧注意事项进行调整的名为ExportOrderDetailListXXXXXXXXXXXX.csv的文件]
</span></p>

<p class="pT20 font12">
<input type="submit" class="button" value="导入">
<input name="cancel" class="button" type="button" value="取消" onclick="cancelWizard()">&nbsp;
</p>
<p>&nbsp;</p>
<div id="prLayer" style="position:absolute;top:-1000px;left:-1000px;background:url( https://crm.baihui.com/crm/images/trans.gif );z-index:5" align="center"></div></div></form>
          <div id="progressBar" style="top:-1000px;left:-1000px;position:absolute;z-index:10;" align="center"><iframe name="uploadFrame" id="uploadFrame" src="https://crm.baihui.com/crm/images/reading_data.gif" width="100%" height="100%" frameborder="0" allowtransparency="true">
</iframe></div></div></td>
<td width="400" valign="top">
<div class="text">
<b>注意事项</b>
    <p>1、需将导入的两个文件的第一列，即“订单编号”列进行格式转换，</p>
    <p>步骤如下：</p><ul><li>使用Excel打开相应文件，选中“订单编号”整列；</li>
			<li>在该列上点击鼠标右键，在弹出菜单中选择“设置单元格格式”；</li>
    		<li>选择“数值”，并将小数位数设为0，点击“确定”；</li>
    		<li>保存相应文件。    </li></ul>
    <p>2、除上述的格式转换操作外，不要对两个文件的内容进行其它的操作，例如不要增加或删除列。</p>
</div></td></tr></tbody></table></div>
</form>
</body>
</html>
